package org.simu.loadflow.general;

import org.apache.commons.math.complex.Complex;

// Node object of an AC power network
public class ACBus {

	private String name;	// Bus' name
	private double voltageLevel;	// Bus' voltage level
	private ACBusType busType;	// Bus' type in terms of loadflow calculation
	private Complex genPower;	// Generator power injected into this bus
	private Complex loadPower;	// Load power absorbed from this bus
	private Complex voltage;	// Operating voltage of this bus
	
	public ACBus(String name, double voltageLevel, ACBusType busType, Complex genPower, Complex loadPower, Complex voltage) {
		super();
		this.name = name;
		this.voltageLevel = voltageLevel;
		this.busType = busType;
		this.genPower = genPower;
		this.loadPower = loadPower;
		this.voltage = voltage;
	}
	
}